package com.pet_service.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pet_service.enums.AuditStatus;
import lombok.Data;

/**
 * 宠物分享表
 * @TableName pet_share
 */
@TableName(value ="pet_share")
@Data
public class PetShare extends BaseEntity {
    /**
     * 用户ID
     */
    @TableField(value = "user_id")
    private Integer user_id;

    /**
     * 宠物ID
     */
    @TableField(value = "pet_id")
    private Integer pet_id;

    /**
     * 标题
     */
    @TableField(value = "title")
    private String title;

    /**
     * 图片
     */
    @TableField(value = "images")
    private String images;

    /**
     * 地址
     */
    @TableField(value = "address")
    private String address;

    /**
     * 品类ID
     */
    @TableField(value = "pet_category_id")
    private Integer pet_category_id;

    /**
     * 年龄
     */
    @TableField(value = "pet_age")
    private Integer pet_age;

    /**
     * 点赞数
     */
    @TableField(value = "like_count")
    private Integer like_count;

    /**
     * 审核状态
     */
    @TableField(value = "audit_status")
    private AuditStatus audit_status;

    /**
     * 拒绝原因
     */
    @TableField(value = "audit_reason")
    private String audit_reason;
}